<?php
	header("Content-type:text/html;charset=utf-8");

	$name=$_POST["name"];
	$pass=$_POST["pass"];

	$conn = mysql_connect("localhost","root","root");

	mysql_select_db("taylor");

	$result = mysql_query("insert into yonghu(name,password) values('$name','$pass')",$conn);

	echo $result;
	mysql_close($conn);
	
?>